LayerTreeDomain

class LayerTreeDomain : Domain

LayerTreeDomain represents LayerTree protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

compositingReasons
Link copied to clipboard
fun compositingReasons(input: CompositingReasonsRequest): Single<CompositingReasonsResponse>
Provides the reasons why the given layer was composited.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables compositing tree inspection.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables compositing tree inspection.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
layerPainted
Link copied to clipboard
fun layerPainted(): Flowable<LayerPaintedEvent>
Returns observable capturing all LayerTree.layerPainted events.
layerTreeDidChange
Link copied to clipboard
fun layerTreeDidChange(): Flowable<LayerTreeDidChangeEvent>
Returns observable capturing all LayerTree.layerTreeDidChange events.
loadSnapshot
Link copied to clipboard
fun loadSnapshot(input: LoadSnapshotRequest): Single<LoadSnapshotResponse>
Returns the snapshot identifier.
makeSnapshot
Link copied to clipboard
fun makeSnapshot(input: MakeSnapshotRequest): Single<MakeSnapshotResponse>
Returns the layer snapshot identifier.
name
Link copied to clipboard
fun name(): String
Returns domain name.
profileSnapshot
Link copied to clipboard
fun profileSnapshot(input: ProfileSnapshotRequest): Single<ProfileSnapshotResponse>
releaseSnapshot
Link copied to clipboard
fun releaseSnapshot(input: ReleaseSnapshotRequest): Single<RequestResponseFrame>
Releases layer snapshot captured by the back-end.
replaySnapshot
Link copied to clipboard
fun replaySnapshot(input: ReplaySnapshotRequest): Single<ReplaySnapshotResponse>
Replays the layer snapshot and returns the resulting bitmap.
snapshotCommandLog
Link copied to clipboard
fun snapshotCommandLog(input: SnapshotCommandLogRequest): Single<SnapshotCommandLogResponse>
Replays the layer snapshot and returns canvas log.

Sources

jvm source
Link copied to clipboard